package com.dailyblue.java.io;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
// 想要序列化和反序列化这个类的对象
public class Student implements Serializable {
    private Integer id;
    private transient String name;
    private Character gender;

    public static final long serialVersionUID = 7187812L;
}
